<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="fragment :: common_header(~{::title},~{::script},~{},~{})">
    <title>分类管理</title>
    <script type="text/javascript" th:src="@{/console/shopType/shopType.js}"></script>
    <script type="text/javascript">
        $(function () {
            $("#searchBtn").click();
        })
    </script>
</head>
<body>
<div class="container" style="height:600px;width:95%">
    <div class="row">
        <form id="searchForm" class="form-horizontal" role="form" th:action="@{/shopType/findShopTypePage}" method="post">
            <div class="form-group row">
                <label for="name" class="col-sm-2 text-right">名称：</label>
                <div class="col-sm-3 text-left">
                    <input id="name" name="name" type="text" placeholder="分类名称"/>
                </div>
                <!--<label for="time" class="col-sm-2 text-right">时间：</label>
                <div class="col-sm-3 text-left">
                    <input id="time" name="time" type="text" placeholder="创建时间"/>
                </div>-->
            </div>
            <div class="row text-right">
                <input class="btn btn-sm btn-primary" value="查询" type="button" id="searchBtn" onclick="pager.searchPage('searchForm');"/>
                <input class="btn btn-sm btn-success" value="重置" type="reset"/>
                <input class="btn btn-sm btn-info" value="新增" type="button" onclick="addShopType()"/>
            </div>
            <br/>
            <br/>
            <div class="row">
                <div class="row clearfix">
                    <div class="col-md-12 column">
                        <table class="table table-condensed">
                            <thead>
                            <tr>
                                <th width="10%" class="text-center">
                                    序号
                                </th>
                                <th width="22%" class="text-center">
                                    分类名称
                                </th>
                                <th width="22%" class="text-center">
                                    创建时间
                                </th>
                                <th width="22%" class="text-center">
                                    创建用户
                                </th>
                                <th class="text-center">
                                    操作
                                </th>
                            </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>